package cn.johnyu.provider;

import cn.johnyu.provider.service.HelloWorldImpl;

import javax.xml.ws.Endpoint;

public class Publisher {
    public static void main(String[] args) {
        Endpoint.publish("http://localhost:8080/ws/hello", new HelloWorldImpl());
        System.out.println("服务发布： http://localhost:8080/ws/hello?wsdl");
    }
}
